#include "DataType/PointSwitchUdpStruct.h"

PointSwitchUdpStruct::PointSwitchUdpStruct()
{
}

QString PointSwitchUdpStruct::Name() const
{
    return m_name;
}
void PointSwitchUdpStruct::SetName(const QString &Name)
{
    m_name=Name;
}

QString PointSwitchUdpStruct::IP() const
{
   return m_ip;
}
void PointSwitchUdpStruct::SetIP(const QString &ip)
{
    m_ip=ip;
}

quint16 PointSwitchUdpStruct::Addr() const
{
    return m_addr;
}
void PointSwitchUdpStruct::SetAddr(const quint16 &PointAddr)
{
    m_addr=PointAddr;
}


QList<PointSwitchUdpStruct> StructList::GetSwitchUudpList() const
{
    return m_SwitchUudpList;
}
void StructList::SetSwitchUdpList(const QList<PointSwitchUdpStruct> &PointSwitchUdplist)
{
    m_SwitchUudpList=PointSwitchUdplist;
}
